-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: redact unknown paths by default in chiware StatMiddleware #67
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also remove the gorrilaware
package
288c00f
to
df13090
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #67 +/- ##
==========================================
- Coverage 78.02% 77.90% -0.12%
==========================================
Files 56 55 -1
Lines 3558 3526 -32
==========================================
- Hits 2776 2747 -29
+ Misses 646 643 -3
Partials 136 136
☔ View full report in Codecov by Sentry. |
Description
StatMiddleware, by default will now use for unmatched paths the value
/redacted
in thereqType
tag. This can guarantee that captured stats don't introduce a tag cardinality issue. This default behaviour can be overridden through theRedactUnknownPaths
option.Additional changes
Removed the
gorillaware
packageNotion Ticket
https://www.notion.so/rudderstacks/Filter-metrics-endpoint-path-in-gateway-7ac54cf219c64fc3b44e14ea89df1918?pvs=4
Security